<template>
  <div>
    <el-container>
      <!-- 头部头像组件 -->
      <el-header>
        <Head class="aaaa"></Head>
      </el-header>
      <el-container>
        <!-- 左侧菜单栏组件 -->
        <el-aside class="cate-liket" width="200px">
          <Leftdaohang></Leftdaohang>
        </el-aside>
        <el-main>
          <!-- 面包屑组件 -->
          <div class="xie">
            <Crumbs></Crumbs>
          </div>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>

import Leftdaohang from "../components/home/leftdaohang.vue";
import Head from "./components/head.vue";
import Crumbs from "./components/crumbs.vue";
export default {
  data() {
    return {};
  },
  components: {
    Leftdaohang,
    Head,
    Crumbs,
  },
};
</script>

<style scoped lang="less">
::v-deep body{
  width: 100%;
  height: 100%;

}
.el-container {
  width: 98vw;
  height: 93vh;
}

.el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}
.el-header {
  background-color: #fff;
  color: #ff7144;
  // border-bottom: 1px solid #909090;
  line-height: 10px;
  padding: 0 0;
  width: 100%;
}
.el-aside {
  background-color: #fff;
  color: #333;
  // text-align: center;
  line-height: 200px;
  // margin-bottom: 50px;
}
ul{
  width: 98%;
}
.el-main {
  position: relative;
  background-color: #f9f9f9;
  color: #333;
  
  padding: 100px 20px 0 20px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
.xie {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  line-height: 50px;
  background-color: #fff;
  margin-bottom: 5px;
}
.aaaa {
  width: 98%;
  background: #ffffff;
  // height: 100%;
  box-shadow: 0 2px 0px 0px rgba(0, 0, 0, 0.05);
}
// 滚动条样式
.cate-liket::-webkit-scrollbar{
  width: 5px;
  height: 8px;

}

.cate-liket::-webkit-scrollbar-thumb{
  background-color: rgba(0, 0, 0, 0.1);

  border-radius: 2em;
}
.el-main::-webkit-scrollbar{
  width: 5px;
  height: 8px;
}
.el-main::-webkit-scrollbar-thumb{
  background-color: rgba(0, 0, 0, 0.1);
}
</style>
